import { defineConfig } from "vite";

import react from '@vitejs/plugin-react';

const path = require("path");

export default defineConfig({
  plugins: [
    react()
  ],
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "src"),
    },
  },
  server: {
    open: true
  },
  build: {
    target: "es2015"
  }
});
